﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SCS.Core.Models;
using SCSService;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SCS.Core.ViewModels
{
    public class BuyMoneyViewModels
    {
        public List<Cart> CartItems { get; set; }
        public double CartTotal { get; set; }
        public SCSService.Invoice Invoice { get; set; }
        public List<Rate> RateItems { get; set; }

        [Required(ErrorMessage = "*")]
        [StringLength(10)]
        public string MethodBuy { get; set; }

        public double ValueBuy { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Account Receive")]
        [StringLength(100)]
        public string AccountReceive { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Account Receive Name")]
        [StringLength(150)]
        public string AccountReceiveName { get; set; }

        [Required(ErrorMessage = "*")]
        [StringLength(10)]
        public string MethodTransferMoney { get; set; }

        public double ValueTransferMoney { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Account Transfer")]
        [StringLength(100)]
        public string AccountTransfer { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Account Transfer Name")]
        [StringLength(150)]
        public string AccountTransferName { get; set; }
    }
}